# 获取审批者
def  get_responder(request):

    #如果是部门领导
    user = request.user
    if user.department.leader.id == user.id:
        #如果是董事会
        if user.department.name == '董事会':
            responder = None
        else:
            responder = user.department.manage
    #如果不是部门领导
    else:
        responder = user.department.leader
    return responder